﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArtemisTest
{
    public enum ScriptEventId
    {
        OnCollision,
        OnEnterRegion,
        OnExitRegion,
        IsAttacked,
        OnAttack,
    }

    public struct ScriptEvent
    {
        /// <summary> Returns the string tag from ScriptEventId</summary>
        public static string GetTag(ScriptEventId id) { return id.ToString(); }

        /// <summary> The Triggering UID</summary>
        public long SenderUID { get; set; }

        /// <summary> UID of a target of interest</summary>
        public long OtherUID { get; set; }

        /// <summary> Only scripts with this tag will fire </summary>
        public string Tag { get; set; }

        /// <summary> Custom Data</summary>
        public object Data { get; set; }

        public double Dt { get; set; }
    }
}
